package com.se.mapper;

import com.se.domain.mysql.QuestionnaireDO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
public interface QuestionnaireMapper {
    @Insert("insert into questionnaire(act_id) values (#{actId})")
    @Options(useGeneratedKeys = true, keyProperty = "qnId", keyColumn = "qn_id")
    void insert(QuestionnaireDO questionnaireDO);
}
